Method And System For Providing Background Blurring When Capturing An Image Using An Image Capture Device

ABSTRACT

Background blurring is provided when capturing an image using an image capture device. Input is received for initiating an image capture process for capturing an image at an image capture device. A background is automatically blurred based on a depth of field automatically adjusted towards the image capture device for capturing the image with background blurring in response to receiving the input for initiating the image capture process.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.12/645,901, titled “Method And System For Providing Background BlurringWhen Capturing An Image Using An Image Capture Device,” filed on Dec.23, 2009, which is a continuation of U.S. patent application Ser. No.11/427,415, titled “Method And System For Providing Background BlurringWhen Capturing An Image Using An Image Capture Device,” filed on Jun.29, 2006 (now U.S. Pat. No. 7,657,171, issued Feb. 2, 2010), of whichthe entire disclosure of each is incorporated by reference herein.

BACKGROUND

When taking a photo, especially a portrait of a person of group ofpeople, it is often desirable to deliberately blur the background. Thisis usually done for aesthetic effect—to make the people stand out betterand to help hide distracting or undesirable backgrounds.

Creating a photo with maximum background blurring will also aid asubsequent image processing task of removing the background so that adifferent background can be substituted. Background removal techniquesinclude edge and gradient analysis; maximum background blurring helpsthis analysis by removing or softening edges in the background, thusreducing the number of edges to follow and making the key edges ofinterest, namely those around the foreground subject, easier to find andfollow.

Generally speaking, the depth of field is the distance in front of andbehind the subject that appears to be in focus. Accordingly, itemsoutside the depth of field, e.g., background, are not in focus, i.e.,are blurry. It is well known by skilled photographers that there are aset of techniques that can be used to control the depth of field in animage and therefore to control the blurring of the background. One suchtechnique involves adjusting the aperture setting—the larger theaperture the smaller the depth of field. Some cameras have a portraitmode that sets the camera to use a wide aperture.

Another technique to control the depth of field in an image involves thefocal length and the subject distance. Longer focal lengths(corresponding to more powerful zoom settings) produce smaller depths offield. Moving towards the subject achieves roughly the same effect andis complimentary. Both techniques can be used in combination—when thesubject fills more of the viewfinder the depth of field is reduced.Thus, the photographer can use a higher zoom or move closer to thesubject or do a combination of these to enlarge the subject in theviewfinder and decrease the depth of field.

These techniques require the user to be a somewhat sophisticatedphotographer to carry them out successfully to enhance backgroundblurring. Moreover, in some cases, the background is too close to thesubject to allow for adequate blurring while maintaining the subject infocus. In other words, the depth of field cannot be set small enough tocover only the subject without any portion of the background. Asdiscussed above, depth of field depends on variables that may or may notbe entirely controllable by the user. For example, the level of zoomused is, to some degree, dependent on the distance to the subject, whichmay not always be controllable by the user.

Accordingly, there exists a need for methods, systems, and computerprogram products for providing background blurring when capturing animage using an image capture device.

SUMMARY

In one aspect of the subject matter disclosed herein, a method forproviding background blurring when capturing an image using an imagecapture device includes receiving input for initiating an image captureprocess for capturing an image at an image capture device. A backgroundis automatically blurred based on a depth of field automaticallyadjusted towards the image capture device for capturing the image withbackground blurring in response to receiving the input for initiatingthe image capture process.

In another aspect of the subject matter disclosed herein, a system forproviding background blurring when capturing an image using an imagecapture device includes means for receiving input for initiating animage capture process for capturing an image at an image capture deviceand means for automatically blurring a background based on a depth offield automatically adjusted towards the image capture device forcapturing the image with background blurring responsive to receiving theinput for initiating the image capture process.

In another aspect of the subject matter disclosed herein, a system forproviding background blurring when capturing an image using an imagecapture device includes an image capture initiator component configuredfor receiving input for initiating an image capture process forcapturing an image at an image capture device and a blurring functionconfigured for automatically blurring a background based on a depth offield automatically adjusted towards the image capture device forcapturing the image with background blurring responsive to receiving theinput for initiating the image capture process.

In another aspect of the subject matter disclosed herein, a computerreadable medium containing a computer program for providing backgroundblurring when capturing an image using an image capture device includesexecutable instructions for receiving input for initiating an imagecapture process for capturing an image at an image capture device andresponsive to receiving the input for initiating the image captureprocess, automatically blurring a background based on a depth of fieldautomatically adjusted towards the image capture device for capturingthe image with background blurring.

To facilitate an understanding of exemplary embodiments, many aspectsare described in terms of sequences of actions that can be performed byelements of a computer system. For example, it will be recognized thatin each of the embodiments, the various actions can be performed byspecialized circuits or circuitry (e.g., discrete logic gatesinterconnected to perform a specialized function), by programinstructions being executed by one or more processors, or by acombination of both.

Moreover, the sequences of actions can be embodied in anycomputer-readable medium for use by or in connection with an instructionexecution system, apparatus, or device, such as a computer-based system,processor containing system, or other system that can fetch theinstructions from a computer-readable medium and execute theinstructions.

As used herein, a “computer-readable medium” can be any means that cancontain, store, communicate, propagate, or transport instructions foruse by or in connection with the instruction execution system,apparatus, or device. The computer-readable medium can be, for examplebut not limited to, an electronic, magnetic, optical, electromagnetic,infrared, or semiconductor system, apparatus, or device. More specificexamples (a non-exhaustive list) of the computer-readable medium caninclude the following: a portable computer diskette, a random accessmemory (RAM), a read-only memory (ROM), an erasable programmableread-only memory (EPROM or Flash memory), a portable compact discread-only memory (CDROM), and a portable digital video disc (DVD).

Thus, the subject matter described herein can be embodied in manydifferent forms, and all such forms are contemplated to be within thescope of what is claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

Objects and advantages of the present invention will become apparent tothose skilled in the art upon reading this description in conjunctionwith the accompanying drawings, in which like reference numerals havebeen used to designate like elements, and in which:

FIGS. 1 and 2 are diagrams for illustrating a technique for providingbackground blurring when capturing an image using an image capturedevice;

FIG. 3 is a diagram illustrating an image captured while providingbackground blurring according to an aspect of the subject matterdescribed herein;

FIG. 4 is a block diagram illustrating a system for providing backgroundblurring when capturing an image using an image capture device accordingto an aspect of the subject matter disclosed;

FIG. 5 is a flow diagram illustrating a method for providing backgroundblurring when capturing an image using an image capture device accordingto an aspect of the subject matter described herein; and

FIG. 6 is a flow diagram illustrating a method for providing backgroundblurring when capturing an image using an image capture device accordingto another aspect of the subject matter described herein.

DETAILED DESCRIPTION

FIGS. 1 and 2 are diagrams illustrating a technique for providingbackground blurring when capturing an image using an image capturedevice. In FIG. 1, an image capture device 100 is shown capturing animage of a subject 102 in front of a background 104. The image capturedevice 100 can be, for example, a still camera (digital, analog, and/orfilm), a video camera (digital, analog, and/or film), a camera phone, apersonal digital assistant (PDA) with image capture, and/or any devicehaving image capture capabilities. The distance from the image capturedevice 100 to the subject 102, referred to herein as the subjectdistance 106, is typically determinative of a value and/or calculationused by the image capture device 100 to focus the subject in thecaptured image, which is referred to herein as a “focus value.” A focusvalue that is based on the subject distance 106 is typically determinedby an autofocus function in modern conventional image capture devices.As will be described below, other focus values that provide the imagecapture device 100 with information for focus on distances other thanthe subject distance can be determined and used to control the imagecapture device 100 to focus, for example, in front of the subject 102.

There are two broad types of techniques for autofocus in modern imagecapture devices: active and passive. Active autofocus systems, such asthe one described in U.S. Pat. No. 4,843,416, bounce a signal, such asan infrared pulse, off the subject and judge the distance by measuringthe amount of the signal that is reflected back to a sensor on the imagecapture device. Passive systems are commonly found in single-lens reflex(SLR) cameras and determine the distance to the subject through ananalysis of the image. U.S. Pat. No. 6,600,878 describes a passiveautofocus system. When the image is in focus, the distance to thesubject can be determined by the position of the lens.

As illustrated in FIG. 1, during conventional image capture, autofocusis determined based on a subject distance 106. That is, the distanceused for automatically focusing on the subject 102, referred to hereinas the focus distance, is the same as the subject distance 106. Alsoillustrated in FIG. 1 is a depth of field distance 108, which is thedistance in front of and behind the focus distance that appears to be infocus. For any given lens setting, there is only one focus distance atwhich a subject is precisely in focus, but focus falls off gradually oneither side of that distance. The depth of field 108 represents a regionwithin which objects are at or above a tolerable level of focus andoutside which objects are considered blurred 110.

In FIG. 2, the image capture device 100 is shown capturing an image ofthe subject 102 in front of the background 104 while providingbackground blurring 110 when capturing an image according to an aspectof the subject matter described herein. The subject distance 106 remainsthe same in FIG. 2 as it is in FIG. 1. Instead of using this subjectdistance 106 as the focus distance, i.e., for determining the focusvalue, a different value for the focus distance 112 is used. The focusdistance 112 value is shorter than the subject distance 106, whicheffectively moves the depth of field 108 forward such that the subject102 is further back within the depth of field 108. This results inadditional blurring 110 of the background 104. For example, comparingFIG. 2 to FIG. 1, it becomes evident that the “rear wall” of the depthof field 108 is closer to the subject 102. As a result, backgrounds 104(or portions of backgrounds 104) near the subject 102 in FIG. 2 areoutside the depth of field 108 and therefore are blurred 110 in thecaptured image. In contrast, in the conventional image captureillustrated in FIG. 1, part of the background 104 falls within the depthof field 108 and is therefore not blurry 110 in the captured image.

FIG. 3 is a diagram illustrating an image captured while providingbackground blurring 110 according to an aspect of the subject matterdescribed herein. In FIG. 3, the subject 102 is a mother and daughterplanting a flower while the background 104 is an unpleasant constructionsite in a cityscape. As discussed above, such deliberate blurring of thebackground may be employed for aesthetic effect—to make the people standout better and to help hide distracting or undesirable backgrounds,and/or to aid a subsequent image processing task of removing thebackground so that a different background can be substituted.

FIG. 4 is a block diagram illustrating a system 400 for providingbackground blurring when capturing an image using an image capturedevice according to an aspect of the subject matter disclosed. In FIG.4, the system 400 includes means for receiving input for initiating animage capture process for capturing an image of a subject at the imagecapture device 100. For example, an image capture manager component 402includes an image capture initiator component 404 and an image capturefunction component 406. The image capture initiator component 404 isconfigured for receiving input for initiating an image capture processfor capturing an image of a subject at the image capture device 100. Theimage capture manager 402 controls the image capture process. Forexample, for capturing an image, the image capture manager 402 candetermine camera settings 408 and interact with applications 410 and alens subsystem 412 to focus the camera lens and to set the shutter speedand aperture. The camera settings component 408 can include a userinterface 414 for receiving preferred camera settings from a user.Camera settings can be received from the user via the user interface414, can be predefined camera settings stored in a memory 416, can bereceived from one or more applications 410, and/or can be calculated bycamera settings component 408 based on user input from user interface414 and/or one or more sensors (not shown) associated with the imagecapture device 100. The image capture initiator 404 can monitor camerasettings 408, including user interface 414, and/or applications 410 todetermine when an image capture process is initiated. For example, whena user either partially or completely depresses a shutter button, theimage capture initiator 404 can be invoked and the image capture manager402 takes the appropriate steps needed for image capture.

The lens subsystem 412 can include an autofocus rangefinder component420 for determining the subject distance 106 based on an initial focusvalue that would be required for a conventional image capture taken atthe subject distance 106 using any of the methods described above. Forexample, the subject distance can be determined by the autofocusrangefinder 420 using an active and/or passive autofocus technique. Thelens subsystem 412 can also include a lens focus control component 422that controls the lens motor to adjust the lens to focus the lens. In anactive autofocus system, the lens focus control component 422 adjuststhe lens based on a determined subject distance 106 determined byautofocus rangefinder 420. In a passive autofocus system, the lens focuscontrol component 422 adjusts the lens until the subject is in focus asdetermined by image analysis performed by image capture manager 402, andthe subject distance can be derived from the final lens position.

The system 400 also includes means for automatically determining a focusvalue corresponding to a focus distance that is less than a distancebetween the subject and the image capture device 100 and that keeps thesubject within a depth of field corresponding to the focus distance. Forexample, a blurring function 418 can be configured for automaticallydetermining a focus value corresponding to a focus distance that is lessthan a distance between the subject and the image capture device 100 andthat keeps the subject within a depth of field corresponding to thefocus distance. According to one aspect, the autofocus rangefinder 420determines the subject distance 106 (or a focus value corresponding tothe subject distance 106) in an active autofocus system. According toanother aspect, in a passive autofocus system, image capture manager 402determines the subject distance 106 (or a focus value corresponding tothe subject distance 106). Once the subject distance (or subjectdistance focus value) is determined, the blurring function 418determines a focus value corresponding to a focus distance that is lessthan the subject distance and that keeps the subject within a depth offield corresponding to the focus distance. The determined focus valuecan then be used by the lens focus control 422 to focus the lenssubsystem 412 at a point corresponding to the focus distance. That is,the focus value is effectively any value that can be used by the lensfocus control 422 to focus the lens subsystem 412.

As will be described below, the focus distance can be a calculated valuebased on depth of field equations or can be store values that can betabulated and/or cross-referenced to the subject distance and/or one ormore camera settings. In either case, the determined focus value can beadjusted for the depth or thickness of the subject(s) as well as for aparameter called “circle of confusion” that determines what isconsidered be an acceptable level of focus. More particularly, thecircle of confusion specifies the level of blurring that is allowablewhile still providing for the subject to be in focus. The greater theallowable circle of confusion, the greater the depth of field. What isconsidered acceptable can vary according to how the user expects toprint or display the image. For example, an image intended for a 4×6print or 8×10 print will have a smaller allowable circle of confusionthan one intended for inclusion as a moderate sized image in an email.One common definition for the circle of confusion is the largest circleof blur on a film negative (or in a captured image) that will still beperceived by the human eye as a clean point when printed at 8″×10″ sizeand viewed from a normal viewing distance of 2-3 feet. The circle ofconfusion parameter can be chosen by the camera manufacturer and/or canbe provided via user input.

The camera settings component 408 provides the camera settings needed tothe blurring function 418 to determine the focus value corresponding tothe focus distance 112. The camera settings that can be used includeaperture, focal length, circle of confusion, and subject depth. Thecircle of confusion and the subject depth can be preset by themanufacturer and stored in memory 416 or provided to the camera by theuser through the user interface 414. The focal length can be preset bythe manufacturer and stored in memory 416 if there is a single focallength and/or can be sensed and provided by the camera if there is azoom lens. The aperture setting can also be sensed by the camera. Thefocal length and aperture settings can be determined using techniquesknown to one of skill in this art. In addition, some or all of thisinformation can be read from image metadata stored by digital cameras.For example, KODAK maintains a website (seewww.Kodak.com/US/en/corp/researchDevelopment/technologyFeatures/pixPic.shtml,omitting all spaces in URL) that describes the operation of a digitalcamera and the various settings and their function as well as the roleof image metadata in camera settings.

According to one embodiment, the focus distance 112 illustrated in FIG.2 can be determined through computations by blurring function 418. Thefocus value corresponding to the focus distance 112 can then be used bythe lens focus control 422 for focusing the lens to a focus distancethat is less than a distance between the subject 102 and the imagecapture device 100 and that keeps the subject 102 within a depth offield corresponding to the focus distance 112. To determine the desiredfocus distance, a relationship between the focus distance, the subjectdistance and one or more other variables and/or camera settings can beused, since the subject distance can be provided by the image capturedevice 100 as described above. An example of one such relationship thatcan be used is provided below.

To determine a relationship between the focus distance 112 and subjectdistance 106, it is helpful to write an expression for the distance fromthe image capture device 100 to the rear wall of the depth of field 108.The distance to the rear wall of the depth of field 108 can be expressedin terms of the hyperfocal distance, which represents the distance atwhich to focus a lens to make everything from half the distance toinfinity acceptably sharp. The hyperfocal distance, H, can be expressedbased on camera settings/parameters as shown in Equation 1:

H=(L×L)/(f×c)  Eq. 1

Where:

H=hyperfocal distance (in millimeters)

L=lens focal length (e.g., 35 mm, 105 mm)

f=lens aperture (f−stop)

c=diameter of circle of least confusion (in millimeters)

The distance to the rear wall of the depth of field, R, can be expressedbased on the hyperfocal distance, H, and focus distance, D, as shown inEquation 2:

R=(H×D)/(H−D+L)  Eq. 2

Where:

R=distance to the rear wall of the depth of field (in millimeters)

H=hyperfocal distance (in millimeters)

D=focus distance (in millimeters)

L=lens focal length (e.g., 35 mm, 105 mm)

Solving Equation 2 for the focus distance, D, yields Equation 3 below:

D=R×(H+L)/(R+H)  Eq. 3

Accordingly, the focus distance 112 can be expressed in terms of thehyperfocal distance, H, and the distance to the rear wall of the depthof field, R, as shown in Equation 3. The hyperfocal distance, H, iscalculated from camera settings as shown in Equation 1. The distance tothe rear wall of the depth of field, R, can be determined based on thesubject distance 106 and a factor to allow for the depth of the subject102. More particularly, R can be expressed as:

R=S+d  Eq. 4

Where:

S is the subject distance determined by the image capture device, and

d is the depth factor, i.e., thickness, of the subject.

The subject distance 106 can be determined by the image capture device100 using any method known in this art, such as active and/or passiveautofocus as described above. The depth factor, d, can be a preset valuestored in the memory 416, can be entered by the user via the userinterface 414, or can be omitted altogether (set to zero). Once thefocus distance 112 is determined by the blurring function 418, theblurring function 418 can provide a corresponding focus value to lensfocus control 422 for capturing the image.

Examples are given below for calculating the focus distance.

Example 1 For 35 mm Format

-   -   L=35 mm    -   f=4.0    -   c=0.03    -   R=5000 mm (subject distance S=4800 mm and depth d=200 mm)    -   H=L×L/f×c=35×35/4.0×0.03=10208 mm    -   D=R×(H+L)/(R+H)=5000×(10208+35)/(5000+10208)=3367 mm        Thus, while the subject distance is 4.80 m, the calculated focus        distance is 3.34 m, which results in moving the depth of field        forward 1.46 m, thus effectively moving the subject rearward in        the depth of field by 1.46 m.

Put another way, the new rear wall of the depth of field is at 5 m,while the original rear wall of the depth of field (when focuseddirectly on the front of the subject) is:

R=(H×D)/(H−D+L)=10208×4800/10208−4800+35=9002 mm

Thus, the rear wall of the depth of field is moved in from approximately9 m to 5 m while maintaining acceptable sharpness for the subject.Accordingly, more of the background is outside the depth of field, thusproviding for additional background blurring.

Example 2 55 mm Format

-   -   L=55 mm    -   f=2.8    -   c=0.03    -   R=5000 mm (subject distance S=4800 mm and depth d=200 mm)    -   H=L×L/f×c=55×55/2.8×0.03=36012 mm (36 meters)    -   D=R×(H+L)/(R+H)=5000×(36012+55)/(5000+36012)=4397 mm

Thus, while the subject distance is 4.80 m, the calculated focusdistance is approximately 4.4 m, which results in moving the depth offield forward 0.4 m, thus effectively moving the subject rearward in thedepth of field by 0.4 m.

The new rear wall of the depth of field is at 5 m, while the originalrear wall of the depth of field (when focused directly on the front ofthe subject) is:

R=(H×D)/(H−D+L)=36012×4800/36012−4800+55=5528 mm

In this case, the effect is less dramatic—the rear wall of the depth offield is moved in from approximately 5.5 m to 5 m while maintainingacceptable sharpness for the subject. Nonetheless, this will help toincrease the blurring of the background while maintaining the sharpnessof the subject.

According to another embodiment, one or more focus distance tables aremaintained in the memory 416 and are accessed to determine the focusvalue that is based on the new, reduced focus distance 112. Thisapproach is most practical when one or more of the settings, such as thecircle of confusion, subject depth, and focal length of the lens, areknown or preset. The focus distance table(s) can be used in place ofsome or all of the calculations to determine the focus distance 112 (fordetermining the focus value). In the most general case, the reducedfocus distance can be based on five parameters:

1. Subject distance

2. Lens focal length

3. Aperture setting

4. Circle of confusion

5. Depth of subject.

Tables that take into account all five of these parameters could beunwieldy. However, this technique becomes more practical if some ofthese parameters are fixed, and this will often be the case. The circleof confusion and/or the depth of the subject can be selected asconstants by the manufacturer. The aperture can also be a constant thatis preset for all but interchangeable lens cameras. The focal length isvariable on cameras that have a zoom lens, but otherwise it is aconstant set by the manufacturer. In addition, one or more of thesesettings can be received via user interface 414 either individually oras part of a set of settings active when the image capture device isplaced in a certain mode, such as an “enhanced blurring mode,” “portraitmode,” and the like. Furthermore, one or more of these settings can bereceived from an application 410 associated with the image capturedevice 100. Table 1 below illustrates one table format that may be usedwhere the subject distance 106 is the only variable input (other valuesare fixed or otherwise known).

TABLE 1 Subject Distance (mm) Focus distance (mm) 4800 mm 3340 mm

If both the subject distance and the lens focal length are variable,then a table similar to Table 2 can be used.

TABLE 2 Lens Focal Length (mm) Subject Distance (mm) Focus distance (mm)35 mm 4800 mm 3340 mm 55 mm 4800 mm 4400 mm

If the aperture is also a variable, then a table format thatcross-references the aperture can be employed. In fact, a table, or anylike device, for cross-referencing the focus value or a value used todetermine the focus value to at least one of a distance between thesubject and the image capture device, an aperture setting, a focallength, a circle of confusion, and a subject depth, for example, can beemployed.

The system 400 also includes means for capturing the image using thedetermined focus value. For example, the system 400 can include an imagecapture function 406 configured for capturing the image using thedetermined focus value. Once the blurring function 418 determines afocus value corresponding to the determined focus distance 112, thefocus value can be provided to the image capture manager 402 and/or thelens subsystem 412 for capturing an image using the focus value. Forexample, the lens focus control 422 can adjust the lens focus based onthe determined focus value and the image capture function 406 canperform the steps necessary for capturing the image.

It should be understood that the various components illustrated in thefigures represent logical components that are configured to perform thefunctionality described herein and may be implemented in software,hardware, or a combination of the two. Moreover, some or all of theselogical components may be combined and some may be omitted altogetherwhile still achieving the functionality described herein.

FIG. 5 is a flow diagram illustrating a method for providing backgroundblurring when capturing an image using an image capture device 100according to an aspect of the subject matter described herein. In FIG.5, an input for initiating an image capture process for capturing animage of a subject at an image capture device 100 is received in block500. For example, according to one aspect, an input can be received fromthe user interface 414 of the image capture device 100. The imagecapture initiator component 404 can be configured for receiving input,such as a shutter button depression, from the user interface 414 of theimage capture device 100 for initiating the image capture process.According to another aspect, input can be received from an application410 associated with the image capture device 100. The image captureinitiator component 404 is configured for receiving input from anapplication 410 associated with the image capture device 100 forinitiating the image capture process.

In block 502, a focus value corresponding to a focus distance 106 thatis less than a distance between the subject and the image capture device100, and that keeps the subject 102 within a depth of field 108corresponding to the focus distance 112, is determined. According to oneaspect, the blurring function 418 is configured for determining thefocus value corresponding to a focus distance 112 by determining thesubject distance 106; determining, based on the determined subjectdistance 106, the focus distance that is less than the subject distance106 and that keeps the subject in the depth of field corresponding tothe focus distance 112; and determining the focus value corresponding tothe focus distance 112. According to another aspect, determining thesubject distance 106 can include determining the focus value based on anautofocus value for the subject distance 106. For example, the autofocusrangefinder function 420 can be configured for providing the blurringfunction 418 with the subject distance 106 based on an autofocus valuefor the subject distance 106 determined using active or passiveautofocus techniques. The subject distance 106 can be used by theblurring function for determining the focus value corresponding to thefocus distance 112. According to another aspect, the blurring functioncan be configured to determine the focus value corresponding to thefocus distance based on at least one of an aperture setting, a focallength, a circle of confusion, and a subject depth. One or more of theaperture setting, focal length, circle of confusion, and subject depthcan be preset in the image capture device 100. The user interface 414can receive from a user at least one of an aperture value, a focallength, a circle of confusion, and a subject depth, based on settingsprovided via the user interface.

In alternate embodiment, at least one of an aperture value, a focallength, a circle of confusion, and a subject depth are used tocross-reference to a corresponding focus distance in a table stored inthe memory 416 as described above, and the blurring function isconfigured to retrieve the focus value or a value used to determine thefocus value from the table.

In block 504, an image is captured using the determined focus value. Forexample, once the blurring function 418 determines a focus valuecorresponding to the determined focus distance 112, the focus value canbe provided to the image capture manager 402 and/or the lens subsystem412 for capturing an image using the focus value. The lens focus control422 can adjust the lens focus based on the determined focus value andthe image capture function 406 can perform the steps necessary forcapturing the image.

FIG. 6 is a flow diagram illustrating a method for providing backgroundblurring when capturing an image using an image capture device 100according to another aspect of the subject matter described herein. InFIG. 6, image capture is initiated in block 600. As discussed above,image capture initiator 404 can receive an indication from a user viathe user interface 414, such as the depressing of the shutter button onthe image capture device 100. Alternatively, image capture may beinitiated by an application 410, such as a timer application for timedimage captures, an application on a remote device that sends an imagecapture instruction via a network, or any other input means whichinitiate a capture such as a script or loadable application module.

At decision point 602, the image capture manager 402 can optionallycheck the camera settings 408 to determine whether the camera is in an“enhanced blurring mode.” This provides user (or application) controlover the enhanced blurring control described herein. If the imagecapture manager 402 determines at decision point 602 that the imagecapture device 100 is not in enhanced blurring mode, then the normalfocusing method of the image capture device is invoked in block 604. Ifthe image capture manager 402 determines at decision point 602 that theimage capture device 100 is in enhanced blurring mode, then the subjectdistance 106 is determined in block 606 as described above. For example,the autofocus rangefinder 420 can determine the subject distance 106using an active autofocus technique. Alternatively, the image capturemanager 402 can determine the subject distance 106 using a passiveautofocus technique.

In block 608, the camera settings 408 described above are retrieved,such as the aperture setting, focal length, circle of confusion, and/orsubject depth, using any of the methods described above. For example,the circle of confusion may be set by the manufacturer or may be inputby the user. In one embodiment, rather than requiring the user to knowthe circle of confusion setting, a set of settings are given commonnames that the user may select from such as email, quality print, orposter, making the choice easier for unsophisticated users. In anotherembodiment, the camera may calculate the circle of confusion based onother settings, such as the resolution of the image selected by theuser.

In block 610, the blurring function 418 calculates the focus distanceand the focus value is determined based on the focus distance. Accordingto one embodiment, the focus distance 112 is determined using theequations above. According to another embodiment, the focus distance 112is determined from a focus distance table based on the subject distance106 and other settings/parameters. The focus value used by the lensfocus control 422 and/or image capture function 406 to capture the imageis determined based on the focus distance 112 by the blurring function418.

In block 612, the lens focus control 422 focuses the lens to the focusdistance 112 based on the determined focus value. The image capturemanager 402 takes actions for capturing the image in block 614. Forexample, if the shutter button in the user interface 414 is only halfwaydepressed, the focus can be locked based on the focus valuecorresponding to the focus distance 112, but the image capture manager402 does not capture the image until the shutter button is fullydepressed. As discussed above, image capture can also be initiated byinputs from applications 410, which may be used to set and lock thefocus with the image capture occurring sometime later or may initiate aprocess of readying the image capture device 100 to capture an image andthen capture the image either immediately or based on another triggeringevent.

Exemplary User Scenario:

1. User sets camera to enhanced blurring setting.

2. Camera sets aperture to maximum.

3. Camera sets zoom to maximum and/or reminds user to use higher zoom orto get close to the subject so that the subject fills the viewfinder.

4. User points camera at subject and partially or completely depressesshutter button to engage autofocus mechanism.

5. Autofocus mechanism focuses as usual to get the subject distance andthen adjusts the focus value to correspond to a focus distance that isless than a distance between the subject and the image capture deviceand that keeps the subject within a depth of field corresponding to thefocus distance. This can be done using the equations/calculationsdescribed above and/or one or more focus distance tables.

6. The image is captured either immediately or after the shutter buttonis completely depressed.

It will be understood that various details of the invention may bechanged without departing from the scope of the claimed subject matter.Furthermore, the foregoing description is for the purpose ofillustration only, and not for the purpose of limitation, as the scopeof protection sought is defined by the claims as set forth hereinaftertogether with any equivalents thereof entitled to.

1. A method for providing background blurring when capturing an imageusing an image capture device, the method comprising: receiving inputfor initiating an image capture process for capturing an image at animage capture device; and responsive to receiving the input forinitiating the image capture process, automatically blurring abackground based on a depth of field automatically adjusted towards theimage capture device for capturing the image with background blurring.2. The method of claim 1 wherein receiving input for initiating an imagecapture process includes receiving input from a user interface of theimage capture device.
 3. The method of claim 1 wherein receiving inputfor initiating an image capture process includes receiving input from anapplication associated with the image capture device.
 4. The method ofclaim 1 wherein automatically blurring a background based on a depth offield automatically adjusted towards the image capture device comprises:determining a distance from the image capture device to the subject;determining, based on the determined subject distance, a focus distancethat is less than the subject distance and that keeps the subject in thedepth of field corresponding to the focus distance; and determining afocus value corresponding to the focus distance.
 5. The method of claim4 wherein determining the distance from the image capture device to thesubject includes determining the focus value based on an autofocus valuefor the subject distance.
 6. The method of claim 1 wherein automaticallyblurring a background based on a depth of field automatically adjustedtowards the image capture device includes determining a focus valuebased on at least one of an aperture setting, a focal length, a circleof confusion, and a subject depth.
 7. The method of claim 6 wherein atleast one of an aperture value, a focal length, a circle of confusion,and a subject depth are preset in the image capture device.
 8. Themethod of claim 6 wherein at least one of an aperture value, a focallength, a circle of confusion, and a subject depth are based on settingsprovided via a user interface.
 9. The method of claim 1 whereinautomatically blurring a background based on a depth of fieldautomatically adjusted towards the image capture device includesretrieving a focus value or a value used to determine the focus valuefrom a table stored in a memory of the image capture device andcross-referenced to at least one of a distance between the subject andthe image capture device, an aperture setting, a focal length, a circleof confusion, and a subject depth.
 10. A system for providing backgroundblurring when capturing an image using an image capture device, thesystem comprising: means for receiving input for initiating an imagecapture process for capturing an image at an image capture device; andmeans for automatically blurring a background based on a depth of fieldautomatically adjusted towards the image capture device for capturingthe image with background blurring responsive to receiving the input forinitiating the image capture process.
 11. A system for providingbackground blurring when capturing an image using an image capturedevice, the system comprising: an image capture initiator componentconfigured for receiving input for initiating an image capture processfor capturing an image at an image capture device; and a blurringfunction configured for automatically blurring a background based on adepth of field automatically adjusted towards the image capture devicefor capturing the image with background blurring responsive to receivingthe input for initiating the image capture process.
 12. The system ofclaim 11 wherein the image capture device includes a user interface andthe image capture initiator component is configured for receiving inputfrom the user interface of the image capture device for initiating theimage capture process.
 13. The system of claim 11 wherein the imagecapture initiator component is configured for receiving input from anapplication associated with the image capture device for initiating theimage capture process.
 14. The system of claim 11 wherein the blurringfunction is configured for automatically blurring a background by:determining the distance from the image capture device to the subject;determining, based on the determined subject distance, a focus distancethat is less than a subject distance and that keeps the subject in thedepth of field corresponding to the focus distance; and determining thefocus value corresponding to the focus distance.
 15. The system of claim14 comprising an autofocus rangefinder function configured for providingthe blurring function with the distance from the image capture device tothe subject based on an autofocus value for the subject distance. 16.The system of claim 11 comprising an autofocus rangefinder functionconfigured for providing the blurring function with a distance from theimage capture device to the subject based on an autofocus value for thesubject distance, wherein the distance from the image capture device tothe subject is used by the blurring function for determining the depthof field.
 17. The system of claim 11 wherein the blurring function isconfigured to determine the depth of field based on at least one of anaperture setting, a focal length, a circle of confusion, and a subjectdepth.
 18. The system of claim 17 wherein at least one of an aperturevalue, a focal length, a circle of confusion, and a subject depth arepreset in the image capture device.
 19. The system of claim 17 whereinthe image capture device includes a user interface and at least one ofan aperture value, a focal length, a circle of confusion, and a subjectdepth are based on settings provided via the user interface.
 20. Thesystem of claim 11 wherein the image capture device includes a memoryfor storing a table for cross-referencing a focus value or a value usedto determine the focus value to at least one of a distance between thesubject and the image capture device, an aperture setting, a focallength, a circle of confusion, and a subject depth and the blurringfunction is configured to retrieve the focus value or the value used todetermine the focus value from the table stored in the memory based onthe cross-referencing for determining the depth of field.
 21. A computerreadable medium containing a computer program for providing backgroundblurring when capturing an image using an image capture device, thecomputer program comprising executable instructions for: receiving inputfor initiating an image capture process for capturing an image at animage capture device; and responsive to receiving the input forinitiating the image capture process, automatically blurring abackground based on a depth of field automatically adjusted towards theimage capture device for capturing the image with background blurring.